using System;
using System.Collections.Generic;
using System.Text;

namespace Zsa.Emulation.Input
{
    /// <summary>
    /// The type of nes input device.
    /// </summary>
    [Flags()]
    public enum NesInputDeviceType : byte
    {
        /// <summary>
        /// No device is plugged in.
        /// </summary>
        None = 0,
        /// <summary>
        /// A standard controller.
        /// </summary>
        StandardController = 1,
        /// <summary>
        /// The four player adapter.
        /// </summary>
        FourPlayerAdaper = 2,
        /// <summary>
        /// A lightgun
        /// </summary>
        Lightgun = 3,
        /// <summary>
        /// The power glove.
        /// </summary>
        Glove = 4,
        /// <summary>
        /// The power pad.
        /// </summary>
        PowerPad = 5,
        /// <summary>
        /// The flag indicates the device is port one.
        /// </summary>
        PortOne = 64,
        /// <summary>
        /// The flag indicates the device is port two.
        /// </summary>
        PortTwo = 128



    }

    public enum NesInputButton : byte
    {
        Unknown = 0,
        A = 1, 
        B = 2, 
        Select = 3, 
        Start = 4, 
        Up = 5, 
        Down = 6, 
        Left = 7, 
        Right = 8,
        
    }
}
